package com.heze.dao;

import com.heze.pojo.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 何泽
 * @version 1.0
 */
public interface StudentMapper {

    //查询所有的学生信息，以及对应的老师的信息
//    @Select("select s.id, s.name, t.name from student s, teacher t where s.tid = t.id")
    public List<Student> getStudent();
    public List<Student> getStudent2();
}
